Method of Lines Framework for Analysis of Arbitrary-shaped Spatial Periodic Structures: A Generalized Formalism | IEEE Conference Publication | IEEE Xplore